package top.itpath.common;

import java.util.List;

/**
 * @author zhaomengru
 * @time 2023/10/13 - 22:23
 */
public interface TreeEntity<T> {

    Long getId();

    Long getParentId();

    void setChildren(List<T> children);
}
